<template>
	<div class="bottomBox">
		<template v-if="ishome">
			<div class="bottomTipCHome">
				© {{YearStr}} www.ctrlikun.com All Rights Reserved. 备案号：<a href="https://beian.miit.gov.cn/"
					target="_blank">闽ICP备2024068508号 </a>
				<el-image :src="balogo" style="width: 20px; height: 20px;"></el-image> <a
					href="https://beian.mps.gov.cn/#/query/webSearch?code=35050402880176" rel="noreferrer"
					target="_blank">闽公网安备35050402880176</a>
			</div>
		</template>
		<template v-else>
			<div class="bottomTipC">
				备案号：<a href="https://beian.miit.gov.cn/" target="_blank">闽ICP备2024068508号 </a>
				<el-image :src="balogo" style="width: 20px; height: 20px;"></el-image> <a
					href="https://beian.mps.gov.cn/#/query/webSearch?code=35050402880176" rel="noreferrer"
					target="_blank">闽公网安备35050402880176</a>
				<div>
					© {{YearStr}} www.ctrlikun.com All Rights Reserved.
				</div>
			</div>
		</template>

	</div>
</template>

<script>
	import balogo from "@/assets/balogo.png"
	let newYear = new Date().getFullYear()
	let YearStr = ''
	newYear == 2024 ? YearStr = '2024' : YearStr = '2024-' + newYear
	export default {
		props: {
			ishome: {
				type: Boolean,
				default: false
			}
		},
		data() {
			return {
				balogo,
				YearStr
			}
		}
	}
</script>

<style scoped>

	.bottomTipC {
		position: absolute;
		width: 100%;
		font-size: 12px;
		color: #ccc;
		bottom: 0;
	}

	.bottomTipCHome {
		font-size: 12px;
		color: #ccc;
	}
</style>